#include "List.h"
#include "DataEngine.h"
#pragma once


class Schedule
{
public:
	int Add();
	int SetExpired(long);
	int GetByCardID(long);
private:
	int m_iSchID;
	char* m_pCumName;
	int m_tComeInTime;
};

class RoomRegister
{
public:
	int Add();
private:
	char* m_pCumName;
	int m_RoomID;
	int ComeInTime;
	int m_TelNO;
	int m_Deposit;
};

class ScheduleList
{
private:
	DataEngine* m_pDatabase;
	List<Schedule>* m_pData;
public:
	ScheduleList();
	int LoadDatabase();
	int LoadList();

	int GetCommonFormatList();
};